import http from '@/utils/httpRequest.js';

export function policy() {
    return new Promise((resolve, reject) => {
        http({
            url: http.adornUrl('/thirdparty/oss/policy'),
            method: 'get',
            params: http.adornParams({})
        }).then((data) => {
            resolve(data)
        }).catch((err) => {
            reject(err)
        });
    })
}
